{% extends 'blogs/base.html' %}

{% block title %}
{{ instance.title }}
{% endblock %}

{% block content %}
<div>
  <h1>{{ instance.title }}</h1>

  <p>{{ instance.body }}</p>

 <p>{{ instance.author }}</p>
</div>

<div>
  <p>
    <a href="{% url 'blogs:edit' instance.slug %}">Редактировать</a>
  </p>
  <p>
    <a href="{% url 'index' %}">Назад</a>
  </p>
</div>
{% endblock %}
